package com.zpyr.mvc.vo;

public class Home_memo {
	
	private String memo_seq;
	private String memo;
	private String title;
	private String reg_date;
	private String row_num;
	private String use_yn;
	
	
	public String getUse_yn() {
		return use_yn;
	}
	public void setUse_yn(String use_yn) {
		this.use_yn = use_yn;
	}
	public String getRow_num() {
		return row_num;
	}
	public void setRow_num(String row_num) {
		this.row_num = row_num;
	}
	public String getMemo_seq() {
		return memo_seq;
	}
	public void setMemo_seq(String memo_seq) {
		this.memo_seq = memo_seq;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getReg_date() {
		return reg_date;
	}
	public void setReg_date(String reg_date) {
		this.reg_date = reg_date;
	}
	
	public String getDate_ymd() {
		String delimeter = "-";
		String src = getReg_date();
		try {
			return src.substring(0,4) + delimeter + src.substring(4,6) + delimeter + src.substring(6,8);
		}
		catch(Exception e) {
			return "yyyy"+delimeter+"MM"+delimeter+"dd";
		}
	}

}
